<?php

require_once 'PHPCR/RangeIterator.php';
require_once 'PHPCR/NoSuchElementException.php';


/**
 * An iterator for <code>NodeType</code> objects.
 *
 * @package phpcr
 * @subpackage nodetype
 */
interface phpCr_NodeType_Iterator extends phpCR_NodeType_RangeIterator
{
    /**
     * Returns the next <code>NodeType</code> in the iteration.
     *
     * @return the next <code>NodeType</code> in the iteration.
     * @throws NoSuchElementException
     *         if iteration has no more <code>NodeType</code>s.
     */
    public function nextNodeType();
}
